.el-table-wrapper {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;

  // 自动高度，爱咋咋的
  &.el-table-wrapper-auto-height {
    height: auto;
    display: block;

    .el-table-wrapper-content {
      height: auto;
    }

    .el-table-wrapper-footer {
      padding: 4px 5px;
    }
  }
}

.el-table-wrapper-header {
  flex: 0 0 auto;;
  position: relative;
  border-bottom: 1px solid #EBEEF5;
}

.el-table-wrapper-content {
  height: 100%;
  overflow: auto;
  flex: 1 1 auto;
}

.el-table-wrapper-title-toolbar {
  position: absolute;
  top: 0;
  width: 100%;
  left: 0;
  z-index: 1;
  text-align: right;
}

.el-table-wrapper-footer {
  padding: 4px 5px;
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.el-table-wrapper-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.el-table-wrapper-pager {
  display: flex;
  align-items: center;
}

.el-table-wrapper-pager-summary {
  padding: 0 5px;
  font-size: 12px;
}

.el-table-wrapper-pager-prepend, .el-table-wrapper-pager-append {
  padding: 0 5px;
  font-weight: normal;
  font-size: 12px;
  color: #2c3e50;

  .el-button-group {
    vertical-align: 0;
  }
}

.el-table-wrapper-footer-text, .el-table-wrapper-header-text {
  font-size: 12px;
  padding: 5px 0;
  color: #555;
}
